﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using CNShapes;
using System.Drawing;
using BobcatMultiTouch;

namespace CNPageEditor
{
    /// <summary>
    /// This action draws a box shape. The initial touch-down position is the
    /// top-left of the box. You then drag in a diagonal direction to make the
    /// bottom-right point.
    /// </summary>
    public class Action_DrawBox : ActionBase_DrawRectangularBoundsShape
    {
        #region Public methods

        /// <summary>
        /// Returns a new instance of the shape we're managing.
        /// </summary>
        public override ShapeBase_RectangularBounds getShape()
        {
            return new Shape_Box();
        }

        /// <summary>
        /// Returns the user-readable description of the action.
        /// </summary>
        public override string getDescription()
        {
            return "Draw box";
        }

        #endregion

    }
}
